uniform sampler2D BjSampler;
uniform sampler2D ambientSampler;
uniform vec3 R;

void main(void)
{
	vec3 Bj = texture2D(BjSampler, gl_TexCoord[0].st).rgb;
	vec3 ambient = R * texture2D(ambientSampler, vec2(0.5, 0.5)).rgb;
	gl_FragColor = vec4(Bj + (ambient * gl_Color.rgb), 1);
}
